package com.exam.model;
import java.util.ArrayList;
import java.util.List;

/**
 * 试题类
 * @author 维康
 *
 */
public class QuestionForm {
	
	private Integer id;
	private int dbid;
	private String content;
	private String answer;
	private String answer_info;
	private int status;
	
	private String db_name;
	private List<String> option = new ArrayList<String>();
	
	public void setOption(List<String> option) {
		this.option = option;
	}
	public List<String> getOption() {
		return option;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}

	public int getDbid() {
		return dbid;
	}

	public void setDbid(int dbid) {
		this.dbid = dbid;
	}

	public String getAnswer() {
		return answer;
	}

	public void setAnswer(String answer) {
		this.answer = answer;
	}

	public String getAnswer_info() {
		return answer_info;
	}

	public void setAnswer_info(String answer_info) {
		this.answer_info = answer_info;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getDb_name() {
		return db_name;
	}

	public void setDb_name(String db_name) {
		this.db_name = db_name;
	}

	@Override
	public String toString() {
		return "QuestionForm [id=" + id + ", dbid=" + dbid + ", content="
				+ content + ", answer=" + answer + ", answer_info="
				+ answer_info + ", status=" + status + ", db_name=" + db_name
				+ ", option=" + option + "]";
	}



	
	

	
	
	
	
}
